package com.cuit.ocp.dao;

import com.cuit.ocp.bean.Staff;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface OcpStaffDao {
    int addNewStaff(Staff staff);
    int update(Staff staff);
    int deleteById(int staff_id);
    int deleteByIds(List<Integer> staff_ids);
    Staff findById(int staff_id);
    Staff findByName(String staff_name);
    List<Staff> findAll();
}
